﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Globalization;




namespace VEXREDUS_GS_control
{
    public partial class Form2 : Form
    {
        string udpsendstring;

        public Form2()
        {
            InitializeComponent();
            udpsendstring = GlobalVar.udpsendstring; //to prevent any change in between -- whats displayed is send
            label_stringtosend.Text = udpsendstring;
        }

        private void bt_confirm_Click(object sender, EventArgs e)
        {
            Form1.UdpSend(udpsendstring);
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        
    }
}
